
<!--
/**************************************************
* @ ordersubmit.jsp
*
* Copyright   2005 Hitrust Technology Inc.
* Developed by SDC, Hitrust.
* All Rights Reserved.
*
* Modify History:
*  v1.00, 2006/02/14, Jenny Li
*  1) first release
/**************************************************
-->
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ include file="../../../common.jsp" %>
<%@ taglib uri="/page.util.gs.hitrust.com/taglibs/page" prefix="page"%>

<%@page import="system.LoginContext"%>
<%@page import="framework.core.SrvContext"%>
<%@page import="framework.core.ObjectList" %>
<html>
<head>
<title>申购单提交</title>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<LINK href="<%=root%>/css/caigouxitong.css" type=text/css rel=stylesheet>
<SCRIPT language="JavaScript" src="<%=root%>/js/common.js"></SCRIPT>
<SCRIPT language=javascript src="<%=root%>/framework/js/datePicker/WdatePicker.js"></SCRIPT>
<%
    ArrayList ary = (ArrayList)request.getAttribute("organdaddr");
    ArrayList userList = (ArrayList)request.getAttribute("userList");
	ResultProcess tOrder = (ResultProcess)request.getAttribute("order");
	String isRequery = (String)request.getAttribute("requery");
	ArrayList tList = new ArrayList();
	String [] tStr = null;
%>
<script>	
	var counter;
	function process(val){
		if(val == 'Q'){
			var tStr = "";		
			var tEnd = "";				
			if(!isEmpty(ordersubmitform.orderCreateDateStr.value)){
				tStr = ordersubmitform.orderCreateDateStr.value.substr(0,4) + ordersubmitform.orderCreateDateStr.value.substr(5,2) + ordersubmitform.orderCreateDateStr.value.substr(8,2);

			}
			if(!isEmpty(ordersubmitform.orderCreateDateEnd.value)){
				tEnd = ordersubmitform.orderCreateDateEnd.value.substr(0,4) + ordersubmitform.orderCreateDateEnd.value.substr(5,2) + ordersubmitform.orderCreateDateEnd.value.substr(8,2);						
			}
			if(parseInt(tStr) > parseInt(tEnd)){
					alert("订单创建周期的开始日期不能大于截止日期！");
					return false;
			}
			ordersubmitform.action = "<%=response.encodeURL(root + "/A100302.do")%>";
    		ordersubmitform.submit();			
		}else if(val == 'T'){
			//alert("--"+document.pager.indexs.length);
			if(!isCheckBoxselected(document.pager,document.pager.orderIds)){
				alert("请至少选择一笔订单!");
				return false;				
			}else{		
				if(confirm("是否确定提交？")){					
					if(document.pager.orderIds.length > 1){
						for(i=0; i<document.pager.orderIds.length;i++){
							if(document.pager.orderIds[i].checked){
								document.form2.orderIds2[i].checked = true;
								document.form2.orderIds2[i].value=document.pager.orderIds[i].value;
							}
						}
					}else if(document.pager.orderIds.checked){
							document.form2.orderIds2.checked = true;
							document.form2.orderIds2.value=document.pager.orderIds.value;
					}
					document.form2.orderId.value = document.ordersubmitform.orderId.value;
					document.form2.concentricityId.value = document.ordersubmitform.concentricityId.value;
					document.form2.orderDept.value = document.ordersubmitform.orderDept.value;
					document.form2.manufInfo.value = document.ordersubmitform.manufInfo.value;
					document.form2.orderCreateDateStr.value = document.ordersubmitform.orderCreateDateStr.value;																				
					document.form2.orderCreateDateEnd.value = document.ordersubmitform.orderCreateDateEnd.value;																						
					document.form2.action = "<%=response.encodeURL(root+"/A100304.do")%>";			
					document.form2.submit();
				}else{
					return false;
				}
			}
		} else if(val == 'P'){
			if(confirm("是否确定打印？")){
				print_bill();//ordermanufacturevdetail.action = "<%=response.encodeURL(root+"/A100305.do")%>";			
			}else{
				return false;
			}
		}else if(val == 'C'){
			ordersubmitform.orderId.value ="";		
			ordersubmitform.orderDept.value="0000";
            ordersubmitform.orderDept.selectedIndex = 0;
			ordersubmitform.concentricityId.value = "";
			ordersubmitform.manufInfo.value = "";
			ordersubmitform.orderCreateDateStr.value = "";						
			ordersubmitform.orderCreateDateEnd.value = "";									
			return false;		
		}
		/*
		else if(val == 'S'){
	
			if(!isCheckBoxselected(document.pager,document.pager.orderIds)){
				alert("请至少选择一笔订单!");
				return false;				
			}else{
				if(confirm("是否确定提交？")){
					
					document.pager.orderDetailId.value = document.ordersubmittoapepform.orderDetailId.value;
					document.pager.providerName.value = document.ordersubmittoapepform.providerName.value;					
					document.pager.concentricityId.value = document.ordersubmittoapepform.concentricityId.value;
					document.pager.deliverGoodsAddrId.value = document.ordersubmittoapepform.deliverGoodsAddrId.value;
					document.pager.orderDeptId.value = document.ordersubmittoapepform.orderDeptId.value;
					document.pager.manuftype1.value = document.ordersubmittoapepform.manuftype1.value;
					document.pager.manuftype2.value = document.ordersubmittoapepform.manuftype2.value;
					document.pager.manuftype3.value = document.ordersubmittoapepform.manuftype3.value;
					document.pager.manufInfo.value = document.ordersubmittoapepform.manufInfo.value;
					document.pager.orderCreateDateStr.value = document.ordersubmittoapepform.orderCreateDateStr.value;																				
					document.pager.orderCreateDateEnd.value = document.ordersubmittoapepform.orderCreateDateEnd.value;		
										
					if(document.pager.orderIds.length > 1){
						for(i=0; i<document.pager.orderIds.length;i++){
							if(document.pager.orderIds[i].checked){
								document.form2.orderIds2[i].checked = true;
								document.form2.orderIds2[i].value=document.pager.orderIds[i].value;
							}
						}
					}else if(document.pager.orderIds.checked){
							document.form2.orderIds2.checked = true;
							document.form2.orderIds2.value=document.pager.orderIds.value;
					}
					document.form2.orderId.value = document.ordersubmitform.orderId.value;
					document.form2.concentricityId.value = document.ordersubmitform.concentricityId.value;
					document.form2.deliverGoodsAddrId.value = document.ordersubmitform.deliverGoodsAddrId.value;
					document.form2.orderDept.value = document.ordersubmitform.orderDept.value;
					document.form2.manufInfo.value = document.ordersubmitform.manufInfo.value;
					document.form2.orderCreateDateStr.value = document.ordersubmitform.orderCreateDateStr.value;																				
					document.form2.orderCreateDateEnd.value = document.ordersubmitform.orderCreateDateEnd.value;
					document.form2.action = "<%=response.encodeURL(root+"/A100305.do")%>";			
					document.form2.submit();
				}else{
					return false;
				}			
			}	
		
		}
		*/

	}
</script>
<script language="javascript">
function afterload()
{
  fileopen("CommitOrderList.vts");
 
  //填入内容
<%
    if(tOrder != null) {
	tList = tOrder.getAllRecoreds();
	
	int count = 0;
	int head = 0;
	int tail = 0;	
	if(tList != null && tList.size() > 0){
	for(int i=0; i<tList.size(); i++){
	  GSOrderVO tGSOrderVO = (GSOrderVO)tList.get(i);
	  head = count + 2;
%>	  
	  F1Book1.EntryRC ( <%=count + 2%>, 1) = "<%=tGSOrderVO.orderid%>";
	  F1Book1.EntryRC ( <%=count + 2%>, 2) = "<%=tGSOrderVO.orderCreateDate%>";
	  F1Book1.EntryRC ( <%=count + 2%>, 3) = "<%=tGSOrderVO.orderDeptName%>";
	  F1Book1.EntryRC ( <%=count + 2%>, 4) = "<%=tGSOrderVO.deliverMode%>";
	  F1Book1.EntryRC ( <%=count + 2%>, 5) = "<%=tGSOrderVO.balanceMode%>";
<%	
	for(int j=0; j<tGSOrderVO.tList.size(); j++){
	  tStr = (String[])tGSOrderVO.tList.get(j);
	  if(j!=0) count = count +1;
%>	  
      F1Book1.RowHeight(<%=count + 2%>)  = 300;
	  F1Book1.EntryRC ( <%=count+2%>, 6) = "<%=tStr[7]%>";
	  F1Book1.EntryRC ( <%=count+2%>, 7) = "<%=tStr[8]%>";
	  F1Book1.EntryRC ( <%=count+2%>, 8) = "<%=tStr[0]%>";
	  F1Book1.EntryRC ( <%=count+2%>, 9) = "<%=tStr[1]%>";
	  F1Book1.EntryRC ( <%=count+2%>, 10) = "<%=tStr[2]%>";
	  F1Book1.EntryRC ( <%=count+2%>, 11) = "<%=tStr[3]%>";
	  F1Book1.EntryRC ( <%=count+2%>, 12) = "<%=tStr[4]%>";
	  F1Book1.EntryRC ( <%=count+2%>, 13) = "<%=tStr[5]%><%=tStr[6] %>"; 
<%	
     
    }
    
    tail = count + 2;
    if(head != tail) {
%>
    F1CellFormat = F1Book1.CreateNewCellFormat();
    F1Book1.SetSelection(<%=head%>, 1, <%=tail%>, 1);
    F1CellFormat.MergeCells = true;
    F1Book1.SetCellFormat(F1CellFormat);
    F1CellFormat = F1Book1.CreateNewCellFormat();
    F1Book1.SetSelection(<%=head%>, 2, <%=tail%>, 2);
    F1CellFormat.MergeCells = true;
    F1Book1.SetCellFormat(F1CellFormat);
    F1CellFormat = F1Book1.CreateNewCellFormat();
    F1Book1.SetSelection(<%=head%>, 3, <%=tail%>, 3);
    F1CellFormat.MergeCells = true;
    F1Book1.SetCellFormat(F1CellFormat);
     F1CellFormat = F1Book1.CreateNewCellFormat();
    F1Book1.SetSelection(<%=head%>, 4, <%=tail%>, 4);
    F1CellFormat.MergeCells = true;
    F1Book1.SetCellFormat(F1CellFormat);
     F1CellFormat = F1Book1.CreateNewCellFormat();
    F1Book1.SetSelection(<%=head%>, 5, <%=tail%>, 5);
    F1CellFormat.MergeCells = true;
    F1Book1.SetCellFormat(F1CellFormat);
<%
    }
    count = count +1;	
  }
%>
  
 
   //边界设定
  F1CellFormat = F1Book1.CreateNewCellFormat();
  F1Book1.SetSelection(1, 1, <%=tail%>, 13);
  F1CellFormat.BorderStyle(-2) = 1;
  F1CellFormat.BorderStyle(-1) = 1;
  F1CellFormat.BorderStyle(0) = 2;
  F1CellFormat.BorderStyle(1) = 2;
  F1CellFormat.BorderStyle(2) = 2;
  F1CellFormat.BorderStyle(3) = 2;
  F1CellFormat.BorderColor(-2) = 0;
  F1CellFormat.BorderColor(-1) = 0;
  F1CellFormat.BorderColor(0) = 0;
  F1CellFormat.BorderColor(1) = 0;
  F1CellFormat.BorderColor(2) = 0;
  F1CellFormat.BorderColor(3) = 0;
  F1Book1.SetCellFormat(F1CellFormat);
  
  //设置字体
  F1CellFormat = F1Book1.CreateNewCellFormat();
  F1Book1.SetSelection(2, 1, <%=tail%>, 13);
  F1CellFormat.AlignHorizontal = 2;
  F1CellFormat.AlignVertical = 2;
  F1CellFormat.FontName = "宋体";
  F1CellFormat.FontSize = 6;
  F1Book1.SetCellFormat(F1CellFormat);
<%
	}
  }
%>
}

function fileopen(vts)
{
        var mylink=location.href;
        var i=mylink.length;
        while (mylink.substring(i-1,i)!= "/")
        {i--;}
        mylink=mylink.substring(0,i);
        F1Book1.URL = mylink+"jsp/ordersystem/workcorp/"+vts;
        F1Book1.ShowRowHeading  = false;
        F1Book1.ShowcolHeading  = false;
        F1Book1.Showtabs  = 0;
        F1Book1.ShowEditBar=false;
        F1Book1.EnableProtection=false;
        F1Book1.SetProtection(true,true);
}

function print_bill(){
    F1Book1.FilePrint(true);
}
function control(val){
		if(val == 'requery'){
			<%
				if(isRequery != null && isRequery.equals("true")){
			%>
			ordersubmitform.action = "<%=response.encodeURL(root+"/A100302.do")%>";
    		ordersubmitform.submit();		
			<%		
				}
			%>
		}
}
</script>
<style type="text/css">
<!--
.red-CC0000 {
	font-size: 12px;
	font-weight: bold;
	color: #CC0000;
}
-->
</style>
</head>

<body text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="afterload();control('requery')">
<form name="ordersubmitform" method="get" >
<p><br></p>
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
	<tr>
		<td height="20">
			<table width="100%" border="0" cellspacing="0" cellpadding="1">
				<tr height="20">
					<td height="30" width="758" class="mtxt_black">申购单提交
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td class="bg_line" height="2"></td>
	</tr>
</table>
<br>
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
	<tr> 
		<td valign="top" bgcolor="F5F5F5"> 
			<table class=bg_table id=tableId	cellspacing=1 cellpadding=0 style="padding-left:5;padding-right:5" width=100% align=center border=0>
				<TR height=20>
					<TD class="bg_column" align=center>申购单编号</TD>
					<TD align=left class="bg_row_odd">
					<input type="text" name="orderId" maxlength="20" value="<%=request.getParameter("orderId")==null? "":request.getParameter("orderId") %>">
					</TD>					
					<TD class="bg_column" align=center>订货单位</TD>
					<TD align=left class="bg_row_odd">
						<select name="orderDept" ><!--onChange="change(this.value)"-->
                            <option value="<%=LoginContext.get(new SrvContext(request,response)).getLoginWarehouseCode() %>">---全部---</option>
                            <%
                            String tOrderDept = request.getParameter("orderDept");
                              if(ary!=null&&ary.size()>0){
                                 for(int i=0;i<ary.size();i++){ 
                                     GSWareHouseBean tmp=(GSWareHouseBean)ary.get(i);%>
                                    <%if(tmp.getCode().equals(tOrderDept)){ %>
                                        <option value="<%=tmp.getCode() %>" selected><%=tmp.getName() %></option>
                                    <%}else{ %>
                                    <option value="<%=tmp.getCode() %>"><%=tmp.getName() %></option>
                            <%}}} %>                                    
						</select>
					</TD>					
				</TR>
				<TR height=20>
					<TD class="bg_column" align=center>集中编码</TD>
					<TD align=left class="bg_row_odd" >
					<input type="text" name="concentricityId" maxlength="20" value="<%=request.getParameter("concentricityId")==null?"":request.getParameter("concentricityId")%>">
					</TD>
                    <td class="bg_column" align=center>图件号</td>
                    <td align=left class="bg_row_odd" >
                    <input type="text" name="drawingpiececode" value="<%=request.getParameter("drawingpiececode")==null? "":request.getParameter("drawingpiececode") %>">
                    </td> 
				</TR>									
				<TR height=20>
					<TD class="bg_column" align=center>产品信息</TD>
					<TD align=left class="bg_row_odd" colspan="3">
					<input type="text" name="manufInfo" maxlength="200" value="<%=request.getParameter("manufInfo")==null?"":request.getParameter("manufInfo")%>">（<FONT color="#ff0033">对产品名称、型号、规格、品牌、生产厂商、附加属性等关键字的模糊查询</FONT>）&nbsp;
					</TD>
				</TR>
                <%
                SimpleDateFormat bartDateFormat = new SimpleDateFormat("yyyy-MM-dd");
                Date d = new Date();
                String strNow = String.valueOf(bartDateFormat.format(d));
                long l=(long)259200*(long)10000;
                Date d2 = new Date(System.currentTimeMillis()-l);
                String strMothAgo = String.valueOf(bartDateFormat.format(d2));
                
                %> 									
				<TR height=20>	
					<TD class="bg_column" align=center>创建时间</TD>
					<TD align=left class="bg_row_odd" colspan="1">
					<%=framework.custom.UIManager.generateDateInput("orderCreateDateStr",
							request.getParameter("orderCreateDateStr")==null?strMothAgo:request.getParameter("orderCreateDateStr"))%>
					
					至
					<%=framework.custom.UIManager.generateDateInput("orderCreateDateEnd",
							request.getParameter("orderCreateDateEnd")==null?strNow:request.getParameter("orderCreateDateEnd"))%>
					
					</TD>
					<td class="bg_column" align=center>申购人</td>
					<td class="bg_row_odd">
					<select name="createUserCode" ><!--onChange="change(this.value)"-->
                            <option value="0">---全部---</option>
                            <%
                           		if(userList!=null&&userList.size()>0){
                           			for(int i=0;i<userList.size();i++){ 
                                     GSUserBean user=(GSUserBean)userList.get(i);%>
                                    <option value="<%=user.id %>"><%=user.getName() %></option>
                            <%}}%>                                      
						</select>
					</td>
					
				</TR>	
			</table>
		</td>
	</tr>
</table>
<%
if(tOrder != null) {
  int totalRecords = 0;
  if(request.getAttribute("totalRecords")!=null){
      totalRecords=Integer.parseInt((String)request.getAttribute("totalRecords"));
  }
  int defaultPageSize =10;
  if(request.getAttribute("pageSize")!=null){
      defaultPageSize=Integer.parseInt((String)request.getAttribute("pageSize"));
  }
  totalRecords=tOrder.getRecordsSize();
%>          
<page:pager total='<%=totalRecords%>' defaultPageSize='<%=defaultPageSize%>'>
<%tList = tOrder.getDisplayRecords(index.intValue(),pageSize.intValue()); %>
</page:pager>
<%} %>
</form>
    <p align="center">
		<input type="button" class="kuang" value="查询" onclick="process('Q')">
		&nbsp;
		<input type="button" class="kuang" value="清空" onclick="process('C')"/>&nbsp;		
    </p>
<%
	
	if(tOrder != null){
%>
	<center>
    <table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
		<tr>
			<td>
            <form name='pager' method="post"> 
             	<table class=bg_table id=tableId	cellspacing=1 cellpadding=2 width=100% align=center border=0>
                    <tbody> 
                    <tr class="bg_column" height=20> 
                    	<td></td>
                        <td class=top align=center> 
                        <div align="center" class="txt_content">申购单编号</div>
						</td>
<!--                        <td class=top align=center> -->
<!--                        <div align="center" class="txt_content">状态</div>-->
<!--						</td>-->
                        <td class=top align=center> 
                        <div align="center" class="txt_content">创建时间</div>
						</td>																																									
                        <td class=top align=center> 
                        <div align="center" class="txt_content">订货单位</div>
						</td>											
                        <td class=top align=center> 
                        <div align="center" class="txt_content">配送方式</div>
						</td>										
                        <td class=top align=center> 
                        <div align="center" class="txt_content">结算方式</div>
						</td>																																				
                        <td class=top align=center> 
                        <div align="center" class="txt_content">申购单明细编号</div>
						</td>
                        <td class=top align=center> 
                        <div align="center" class="txt_content">明细状态</div>
						</td>
                        <td class=top align=center> 
                        <div align="center" class="txt_content">集中编码</div>
						</td>
                        <td class=top align=center> 
                        <div align="center" class="txt_content">产品名称</div>
						</td>
                        <td class=top align=center> 
                        <div align="center" class="txt_content">供应商</div>
                        </td>
                        <td class=top align=center> 
                        <div align="center" class="txt_content">规格</div>
						</td>
                        <td class=top align=center> 
                        <div align="center" class="txt_content">型号</div>
						</td>
                        <td class=top align=center> 
                        <div align="center" class="txt_content">品牌</div>
						</td>
                        <td class=top align=center> 
                        <div align="center" class="txt_content">图件号</div>
                        </td>
                        <td class=top align=center> 
                        <div align="center" class="txt_content">订货数量</div>
						</td>
                        
                        <td class=top align=center> 
                        <div align="center" class="txt_content">结算模式</div>
                        </td>
                        <td class=top align=center> 
                        <div align="center" class="txt_content">详细</div>
						</td>																																										
					</tr>
					<%
						if(tList != null && tList.size() > 0){
						for(int i=0; i<tList.size(); i++){
//							String[] tStr = (String[])tList.get(i);
							GSOrderVO tGSOrderVO = (GSOrderVO)tList.get(i);
							String tTempStr="";
							if(i%2==0){
								tTempStr="class=\"bg_row_odd\"";
							}else {
								tTempStr="class=\"bg_row_even\"";
							}
							int size = 0;
					%>
							<tr <%=tTempStr%> height=20>
					<%
							size = tGSOrderVO.tList.size();
							tStr = (String[])tGSOrderVO.tList.get(0);
					%>
								<td class=top align=center rowspan="<%=size %>"> 
									<div align="center" class="txt_content">
										<input type="checkbox" name="orderIds" value="<%=tGSOrderVO.orderid%>">
									</div>
								</td>			
								<td class=top align=center rowspan="<%=size %>"> 								
									<div align="center" class="txt_content">
									<%=tGSOrderVO.orderid%>
									</div>
								</td>	
<!--								<td class=top align=center rowspan="<%=size%>"> -->
<!--									<div align="center" class="txt_content">-->
<!--									<%=tGSOrderVO.orderStatus%>-->
<!--									</div>-->
<!--								</td>	-->
								<td class=top align=center rowspan="<%=size%>"> 
									<div align="center" class="txt_content">
									<%=tGSOrderVO.orderCreateDate%>
									</div>
								</td>							
								<td class=top align=center rowspan="<%=size%>"> 
									<div align="center" class="txt_content">
									<%=tGSOrderVO.orderDeptName%>
									</div>
								</td>											
								<td class=top align=center rowspan="<%=size%>"> 
									<div align="center" class="txt_content">
									<%=tGSOrderVO.deliverMode%>
									</div>
								</td>				
								<td class=top align=center rowspan="<%=size%>"> 
									<div align="center" class="txt_content">
									<%=tGSOrderVO.balanceMode%>
									</div>
								</td>																				
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<%=tStr[7]%>
									</div>
								</td>	
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<%=tStr[8]%>
									</div>
								</td>																	
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<%=tStr[0]%>
									</div>
								</td>																
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<a href="<%=response.encodeURL(root+"/A100306.do?concentricityId="+tStr[0])%>" target="_blank"><%=tStr[1]%></a>
									</div>
								</td>
                                <td class=top align=center> 
                                    <div align="center" class="txt_content">
                                      <%=tStr[11]%>
                                    </div>
                                </td>  
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<%=tStr[2]%>
									</div>
								</td>								
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<%=tStr[3]%>
									</div>
								</td>			
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<%=tStr[4]%>
									</div>
								</td>
                                <td class=top align=center> 
                                    <div align="center" class="txt_content">
                                    <%=tStr[10]%>
                                    </div>
                                </td>																												
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<%=tStr[5]%><%=tStr[6] %>
									</div>
								</td>
                                
                                <td class=top align=center> 
                                    <div align="center" class="txt_content">
                                    <%=tStr[9]%>
                                    </div>
                                </td>										
								<td class=top align=center rowspan="<%=size %>"> 
									<div align="center" class="txt_content">
									<a href="<%=response.encodeURL(root+"/A100303.do?orderId="+tGSOrderVO.orderid)%>" target="_blank">详细</a>
									</div>
								</td>																																								
							</tr> 
						
							
					<%	
								for(int j=1; j<tGSOrderVO.tList.size(); j++){
								    tStr = (String[])tGSOrderVO.tList.get(j);
					%>
							<tr <%=tTempStr%> align=center>
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<%=tStr[7]%>
									</div>
								</td>	
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<%=tStr[8]%>
									</div>
								</td>											
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<%=tStr[0]%>
									</div>
								</td>												
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<a href="<%=response.encodeURL(root + "/A100306.do?concentricityId="+tStr[0])%>" target="_blank"><%=tStr[1]%></a>
									</div>
								</td>
                               <td class=top align=center> 
                                    <div align="center" class="txt_content">
                                     <%=tStr[11]%>
                                    </div>
                                </td>
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<%=tStr[2]%>
									</div>
								</td>															
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<%=tStr[3]%>
									</div>
								</td>															
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<%=tStr[4]%>
									</div>
								</td>
                                <td class=top align=center> 
                                    <div align="center" class="txt_content">
                                    <%=tStr[10]%>
                                    </div>
                                </td>			
								<td class=top align=center> 
									<div align="center" class="txt_content">
									<%=tStr[5]%><%=tStr[6] %>
									</div>
								</td>
                                
                                <td class=top align=center> 
                                    <div align="center" class="txt_content">
                                    <%=tStr[9]%>
                                    </div>
                                </td>										
							</tr> 
					<%
								}
							}
					%>
						  <tr class="bg_column" height=20>
						    <td width="960" height="16" colspan="18" align="right">
									<!--导航条-->
						    		<page:navigator type='text' queryForm='ordersubmitform'/>
						    </td>
                            </tr>
						  
				    <%
						}else{
					%>
                            <tr class="bg_column" height=20>
                            <td width="960" height="16" colspan="18" align="center">
                               <font color="red">没有符合条件的申购单信息,请重新输入查询条件</font>
                            </td>
                           </tr>
							
					<%
						}
					%>
					</tbody>
				</table>
				</form>					  
			</td>
		</tr>	
	</table>
	</center>
	<form name="form2">
	    <input type="hidden" name="orderId">
	    <input type="hidden" name="orderDept">            
	    <input type="hidden" name="deliverGoodsAddrId"> 	
	    <input type="hidden" name="concentricityId"> 
	    <input type="hidden" name="manufInfo"> 
	    <input type="hidden" name="orderCreateDateStr"> 
	    <input type="hidden" name="orderCreateDateEnd">    
	    <input type="hidden" name="target"> 
		<div style='display:none'>
		<%
			if(tList != null && tList.size() > 0){
				for(int i=0; i<tList.size(); i++){
		%>
			<input type="checkbox" name="orderIds2">
		<%		
				}
			}
		%>
		</div>
    </form>	
	<p align="center">  
	<%
		if(tList!= null && tList.size() > 0){
	%>
	
	
    <!-- <input type="button" class="kuang" value="直接提交到交易平台"  onclick="process('S')">&nbsp; -->
    <%
    //设置是否提交到APEP
		if( GSSystemConfigurator.getParam("gs.SetSubmit").equalsIgnoreCase("1") ) 
		{
    %>
    	<input type="button" class="kuang" value="提交"  onclick="process('T')">&nbsp;
	<%}else if(GSSystemConfigurator.getParam("gs.SetSubmit").equalsIgnoreCase("2"))
	{%>
		<input type="button" class="kuang" value="提交到交易平台"  onclick="document.form2.target.value='apep';process('T')">&nbsp;
	<%}%>
	
	<input type="button" class="kuang" value="打印"  onclick="process('P')"/>&nbsp;
	<%
		}
	%>
    </p>	    
<%		
	}
	if(tOrder == null && isRequery != null &&isRequery.equals("true")){
%>
	<font size="2">数据查询中......</font>
<%		
	}
%>
<OBJECT
ID="F1Book1"
CLASSID="clsid:B0475003-7740-11D1-BDC3-0020AF9F8E6E"
CODEBASE="/activex/setup.exe"
WIDTH = 0
HEIGHT = 0
ALIGN = center
>
<param name="_ExtentX" value="18336">
<param name="_ExtentY" value="8837">
<param name="_0" value=")A)@#-@*?*?@@@@J@*uB@@)NA@@D@@P@@*BF@@I@FE@F@@@+nDPF@@+oT@@@*?@@*?*?@@.????????3?.}R@@@@*[h*RSx@@@@@A@)XBNA@qU+H@@@*??*PA@@@@*F@E@)A2)i!)lqU+H@@@*??*|B@@@@*F@E@)A2)i!)lqU+H@B@*??*PA@@@@*F@E@)A2)i!)lqU+H@B@*??*|B@@@@*F@E@)A2)i!)lqU+H@@@*??*PA@@@@*F@E@)A2)i!)l^kE@S@Ab@*%*?b@c@l@c@c@p@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